using System;
namespace Servlets.Exceptions
{
	public class InvalidHttpMethodStringException : Exception
	{
		public InvalidHttpMethodStringException(string val) : base("Cannot parse '" +val +"' to a valid HttpMethod")
		{
		}
		
		public Api.HttpStatus StatusCode {
			get {
				return Servlets.Api.HttpStatus.STATUS_500_INTERNAL_SERVER_ERROR;
			}
		}
	}
}

